<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<form action="update2">
<!-- 		wareHouse: -->
<!-- 		<select name="wareHouse"/> -->
<!-- 			<option value="BeiJing">BeiJing</option> -->
<!-- 			<option value="TianJing">TianJing</option> -->
<!-- 			<option value="ShangHai">ShangHai</option> -->
<!-- 		</select><br/> -->
		wareHouse:
		<select name="wareHouse"/>
			<c:forEach items="${sessionScope.wareHouse }" var="wareHouse">
				<option value=${wareHouse.addr }>${wareHouse.addr }</option>
			</c:forEach>
		</select><br/>		
		name:<input type="text" name="name" value=${goods.name }><br/>
		price:<input type="text" name="price" value=${goods.price }><br/>
		count:<input type="text" name="count" value=${goods.count }><br/>
		pd:<input type="date" name="pd" value=<fmt:formatDate value="${goods.pd }" pattern="yyyy-MM-dd"/>><br/>
		
		<input type="submit"/>
	</form>
</body>
</html>